package com.gency.subscribe.model.system;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author 马行空
 * @since 2018-06-18
 */
@TableName("sys_server_base")
public class ServerBase extends Model<ServerBase> {

    private static final long serialVersionUID = 1L;

    /**
     * 数据编号
     */
	private Long id;
    /**
     * 机构名称
     */
	private String server_name;
    /**
     * logourl地址
     */
	private String image_url;
    /**
     * 联系电话一
     */
	private String tel_one;
    /**
     * 联系电话二
     */
	private String tel_two;
    /**
     * 服务标签
     */
	private String server_tag;
    /**
     * 服务机构介绍
     */
	private String server_discripe;
    /**
     * 创建时间
     */
	private Date create_time;
    /**
     * 信誉值
     */
	private Integer sort;
    /**
     * 0:开启 1:关闭
     */
	private Integer flag_open;
    /**
     * 地址
     */
	private String address;
    /**
     * 定位
     */
	private String location_ip;
	
	
	@TableField(exist=false)
	private String labe1;//
	
	@TableField(exist=false)
	private String labe2;//
	
	@TableField(exist=false)
	private String labe3;//
	
	@TableField(exist=false)
	private String labe4;//
	
	@TableField(exist=false)
	private String labe5;//
	
	@TableField(exist=false)
	private String labe6;//


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getServer_name() {
		return server_name;
	}

	public void setServer_name(String server_name) {
		this.server_name = server_name;
	}

	public String getImage_url() {
		return image_url;
	}

	public void setImage_url(String image_url) {
		this.image_url = image_url;
	}

	public String getTel_one() {
		return tel_one;
	}

	public void setTel_one(String tel_one) {
		this.tel_one = tel_one;
	}

	public String getTel_two() {
		return tel_two;
	}

	public void setTel_two(String tel_two) {
		this.tel_two = tel_two;
	}

	public String getServer_tag() {
		return server_tag;
	}

	public void setServer_tag(String server_tag) {
		this.server_tag = server_tag;
	}

	public String getServer_discripe() {
		return server_discripe;
	}

	public void setServer_discripe(String server_discripe) {
		this.server_discripe = server_discripe;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getFlag_open() {
		return flag_open;
	}

	public void setFlag_open(Integer flag_open) {
		this.flag_open = flag_open;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLocation_ip() {
		return location_ip;
	}

	public void setLocation_ip(String location_ip) {
		this.location_ip = location_ip;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getLabe1() {
		return labe1;
	}

	public void setLabe1(String labe1) {
		this.labe1 = labe1;
	}

	public String getLabe2() {
		return labe2;
	}

	public void setLabe2(String labe2) {
		this.labe2 = labe2;
	}

	public String getLabe3() {
		return labe3;
	}

	public void setLabe3(String labe3) {
		this.labe3 = labe3;
	}

	public String getLabe4() {
		return labe4;
	}

	public void setLabe4(String labe4) {
		this.labe4 = labe4;
	}

	public String getLabe5() {
		return labe5;
	}

	public void setLabe5(String labe5) {
		this.labe5 = labe5;
	}

	public String getLabe6() {
		return labe6;
	}

	public void setLabe6(String labe6) {
		this.labe6 = labe6;
	}

	@Override
	public String toString() {
		return "Server_base{" +
			"id=" + id +
			", server_name=" + server_name +
			", image_url=" + image_url +
			", tel_one=" + tel_one +
			", tel_two=" + tel_two +
			", server_tag=" + server_tag +
			", server_discripe=" + server_discripe +
			", create_time=" + create_time +
			", sort=" + sort +
			", flag_open=" + flag_open +
			", address=" + address +
			", location_ip=" + location_ip +
			"}";
	}
}
